package com.sugar.subscribe.course.module.business.service.coachvideo;

import java.util.*;
import javax.validation.*;
import com.sugar.subscribe.course.module.business.controller.admin.coachvideo.vo.*;
import com.sugar.subscribe.course.module.business.controller.app.coachvideo.vo.AppCoachVideoRespVO;
import com.sugar.subscribe.course.module.business.controller.app.coachvideo.vo.AppCoachVideoSaveReqVO;
import com.sugar.subscribe.course.module.business.dal.dataobject.coachvideo.CoachVideoDO;
import com.sugar.subscribe.course.framework.common.pojo.PageResult;
import com.sugar.subscribe.course.framework.common.pojo.PageParam;

/**
 * 教练视频介绍 Service 接口
 *
 * @author Ysugar
 */
public interface CoachVideoService {

    /**
     * 创建教练视频介绍
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createCoachVideo(@Valid CoachVideoSaveReqVO createReqVO);

    /**
     * 更新教练视频介绍
     *
     * @param updateReqVO 更新信息
     */
    void updateCoachVideo(@Valid CoachVideoSaveReqVO updateReqVO);

    /**
     * 删除教练视频介绍
     *
     * @param id 编号
     */
    void deleteCoachVideo(Long id);

    /**
    * 批量删除教练视频介绍
    *
    * @param ids 编号
    */
    void deleteCoachVideoListByIds(List<Long> ids);

    /**
     * 获得教练视频介绍
     *
     * @param id 编号
     * @return 教练视频介绍
     */
    CoachVideoDO getCoachVideo(Long id);

    /**
     * 获得教练视频介绍分页
     *
     * @param pageReqVO 分页查询
     * @return 教练视频介绍分页
     */
    PageResult<CoachVideoRespVO> getCoachVideoPage(CoachVideoPageReqVO pageReqVO);

    void appCreateCoachVideo(AppCoachVideoSaveReqVO createReqVO, Long coachId);

    PageResult<AppCoachVideoRespVO> appGetCoachVideoPage(PageParam pageParam, Long coachId);
}